home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000193_news@newsmaster….columbia.edu _Mon Aug 18 20:59:14 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA16354
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 18 Aug 1997 20:59:14 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA22604
  7.     for kermit.misc@watsun; Mon, 18 Aug 1997 20:59:13 -0400 (EDT)
  8. Path: news.columbia.edu!psinntp!news.idt.net!netnews.com!howland.erols.net!infeed2.internetmci.com!newsfeed.internetmci.com!199.117.161.1!csn!nntp-xfer-1.csn.net!csn!nntp-xfer-2.csn.net!yuma!holly.ColoState.EDU!not-for-mail
  9. From: Andrea Beam <abeam@holly.ColoState.EDU>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: can't access modem after nohup and shell exit?
  12. Date: 18 Aug 1997 12:43:41 -0600
  13. Organization: Colorado State University, Fort Collins, CO  80523
  14. Lines: 45
  15. Message-ID: <5ta54t$2p1o@holly.ColoState.EDU>
  16. NNTP-Posting-Host: holly.acns.colostate.edu
  17. X-Newsreader: TIN [UNIX 1.3 unoff BETA 970406; AIX 4.2]
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7500
  19.  
  20.  
  21. I have the following:
  22.  
  23. test_page.sh
  24. --
  25. #!/bin/sh
  26. sleep 10
  27. ./pager.kerm
  28.  
  29.  
  30. pager.kerm
  31. --
  32. #!/usr/local/bin/kermit
  33. set parity none
  34. set modem hst-courier
  35. set terminal echo remote
  36. set handshake none
  37. set flow xon/xoff
  38.  
  39. set line /dev/cua/a
  40. out AT\13
  41. if fail stop 1 Can't get modem's attention
  42. out ATDT[number deleted],,,,,,,12345##;\13
  43. pause 30
  44. hangup
  45. exit
  46.  
  47. when I run 
  48. nohup test_page.sh &
  49.  
  50. and stay logged in, the modem dials and sends the page and hangs up and
  51. exits.
  52.  
  53. However, when I run
  54. nohup test_page.sh &
  55. and logout right away (during the sleep), no modem activity commences.
  56.  
  57. This happens for both 
  58. C-Kermit 5A(188), 23 Nov 92, Solaris 2.0 and
  59. C-Kermit 6.0.192 Release Candidate 1, 6 Sep 96, for Solaris 2.x
  60.  
  61. Any help would be GREAT!
  62.  
  63. thanks....
  64.